Kevin McGonigle hit a two-run walk-off single in the ninth and a solo homer in the fourth as the Detroit Tigers defeated the Seattle Mariners 5-4.